Release 10.1A: OpenEdge Development:
Progress Dynamics Advanced Development
Creating the other support functions
Now create the support functions to make this work. The
widgetHandlefunction can be the same as in the viewer example, because it uses the samegcFieldsandgcHandlesvariables, even though those are derived from different object properties.The
widgetValuefunction, however, looks a little different because, as noted, you cannot reference the cell values of the browse cells from within theROW-DISPLAYevent. For this reason the code refers back to the SDO’sRowObjectrecord buffer, captured from theQueryRowObjectproperty, to get the field value from there, as shown:
The
highlightWidgetfunction, like any other functions that just usewidgetHandleandwidgetValue, can be the same code as for the viewer example.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |